package com.soft.admin.service;

import javax.servlet.http.HttpServletRequest;

import com.soft.admin.dto.MenuToDTO;

public interface MenuService extends BaseService {
	/**
	 * 获取菜单.
	 */
	public String get();
	
	/**
	 * 获取明细菜单.
	 */
	public String getDetail(Integer id);
	
	/**
	 * 获取索引权限.
	 */
	public String getAction();
	
	/**
	 * 获取所有图片.
	 */
	public String getImg(HttpServletRequest request);
	
	/**
	 * 添加修改菜单.
	 */
	public String addOrEdit(MenuToDTO params, Integer parent);
	
	/**
	 * 删除菜单.
	 */
	public String remove(Integer id);
}
